export const TILE_CONFIGS = {
  TILE_WIDTH: 55, // 瓦片地图宽度
  TILE_HEIGHT: 55, // 瓦片地图长度
}

/** 玩家动画帧图片资源路径 */
export const PLAYER_ANIMATION_PATH = {
  // idle 默认状态下 4个方向的动画帧图片路径
  idleTop: 'texture/player/idle/top',
  idleBottom: 'texture/player/idle/bottom',
  idleLeft: 'texture/player/idle/left',
  idleRight: 'texture/player/idle/right',
  // attack 攻击状态下 4个方向的动画帧图片路径
  attackTop: 'texture/player/attack/top',
  attackBottom: 'texture/player/attack/bottom',
  attackLeft: 'texture/player/attack/left',
  attackRight: 'texture/player/attack/right',
  // turnleft 往左旋转动画帧图片路径
  turnleftTop: 'texture/player/turnleft/top',
  turnleftBottom: 'texture/player/turnleft/bottom',
  turnleftLeft: 'texture/player/turnleft/left',
  turnleftRight: 'texture/player/turnleft/right',
  // turnright 往右旋转动画帧图片路径
  turnrightTop: 'texture/player/turnright/top',
  turnrightBottom: 'texture/player/turnright/bottom',
  turnrightLeft: 'texture/player/turnright/left',
  turnrightRight: 'texture/player/turnright/right',
  // blockfront动画帧图片路径 向前撞击
  blockfrontTop: 'texture/player/blockfront/top',
  blockfrontBottom: 'texture/player/blockfront/bottom',
  blockfrontLeft: 'texture/player/blockfront/left',
  blockfrontRight: 'texture/player/blockfront/right',
  // blockback动画帧图片路径 向后撞击
  blockbackTop: 'texture/player/blockback/top',
  blockbackBottom: 'texture/player/blockback/bottom',
  blockbackLeft: 'texture/player/blockback/left',
  blockbackRight: 'texture/player/blockback/right',
  // blockleft动画帧图片路径 向左撞击
  blockleftTop: 'texture/player/blockleft/top',
  blockleftBottom: 'texture/player/blockleft/bottom',
  blockleftLeft: 'texture/player/blockleft/left',
  blockleftRight: 'texture/player/blockleft/right',
  // blockright动画帧图片路径 向右撞击
  blockrightTop: 'texture/player/blockright/top',
  blockrightBottom: 'texture/player/blockright/bottom',
  blockrightLeft: 'texture/player/blockright/left',
  blockrightRight: 'texture/player/blockright/right',
  // blockturnleft动画帧图片路径 往左旋转时撞击
  blockturnleftTop: 'texture/player/blockturnleft/top',
  blockturnleftBottom: 'texture/player/blockturnleft/bottom',
  blockturnleftLeft: 'texture/player/blockturnleft/left',
  blockturnleftRight: 'texture/player/blockturnleft/right',
  // blockturnright动画帧图片路径 往右旋转时撞击
  blockturnrightTop: 'texture/player/blockturnright/top',
  blockturnrightBottom: 'texture/player/blockturnright/bottom',
  blockturnrightLeft: 'texture/player/blockturnright/left',
  blockturnrightRight: 'texture/player/blockturnright/right',
  // 死亡的动画帧图片路径 被怪物杀死
  deadTop: 'texture/player/death/top',
  deadBottom: 'texture/player/death/bottom',
  deadLeft: 'texture/player/death/left',
  deadRight: 'texture/player/death/right',
  // 空中死亡的动画帧图片路径 掉入陷阱
  airDeadTop: 'texture/player/airdeath/top',
  airDeadBottom: 'texture/player/airdeath/bottom',
  airDeadLeft: 'texture/player/airdeath/left',
  airDeadRight: 'texture/player/airdeath/right',
}

/** 木骷髅动画帧图片资源路径 */
export const WOODEN_SKELETON_ANIMATION_PATH = {
  // idle 默认状态下 4个方向的动画帧图片路径
  idleTop: 'texture/woodenskeleton/idle/top',
  idleBottom: 'texture/woodenskeleton/idle/bottom',
  idleLeft: 'texture/woodenskeleton/idle/left',
  idleRight: 'texture/woodenskeleton/idle/right',
  // attack 攻击状态下 4个方向的动画帧图片路径
  attackTop: 'texture/woodenskeleton/attack/top',
  attackBottom: 'texture/woodenskeleton/attack/bottom',
  attackLeft: 'texture/woodenskeleton/attack/left',
  attackRight: 'texture/woodenskeleton/attack/right',
  // dead 死亡状态下 4个方向的动画帧图片路径
  deadTop: 'texture/woodenskeleton/death/top',
  deadBottom: 'texture/woodenskeleton/death/bottom',
  deadLeft: 'texture/woodenskeleton/death/left',
  deadRight: 'texture/woodenskeleton/death/right',
}

/** 铁骷髅动画帧图片资源路径 */
export const IRON_SKELETON_ANIMATION_PATH = {
  // idle 默认状态下 4个方向的动画帧图片路径
  idleTop: 'texture/ironskeleton/idle/top',
  idleBottom: 'texture/ironskeleton/idle/bottom',
  idleLeft: 'texture/ironskeleton/idle/left',
  idleRight: 'texture/ironskeleton/idle/right',
  // dead 死亡状态下 4个方向的动画帧图片路径
  deadTop: 'texture/ironskeleton/death/top',
  deadBottom: 'texture/ironskeleton/death/bottom',
  deadLeft: 'texture/ironskeleton/death/left',
  deadRight: 'texture/ironskeleton/death/right',
}

/** 移动烟雾动画帧图片资源路径 */
export const SMOKE_ANIMATION_PATH = {
  // idle 默认状态下 4个方向的动画帧图片路径
  idleTop: 'texture/smoke/idle/top',
  idleBottom: 'texture/smoke/idle/bottom',
  idleLeft: 'texture/smoke/idle/left',
  idleRight: 'texture/smoke/idle/right',
  // dead 死亡状态下 4个方向的动画帧图片路径
  dead: 'texture/door/death',
}

/** 门动画帧图片资源路径 */
export const DOOR_ANIMATION_PATH = {
  // idle 默认状态下 4个方向的动画帧图片路径
  idleTop: 'texture/door/idle/top',
  idleLeft: 'texture/door/idle/left',
  // dead 死亡状态下动画帧图片路径
  dead: 'texture/door/death',
}

/** 地裂陷阱动画帧图片资源路径 */
export const BURST_ANIMATION_PATH = {
  // idle 默认状态动画帧图片路径
  idle: 'texture/burst/idle',
  // dead 死亡状态下动画帧图片路径
  dead: 'texture/burst/death',
  // attack 碎裂状态下动画帧图片路径
  attack: 'texture/burst/attack',
}

/** 地刺动画帧图片资源路径 */
export const SPIKES_ANIMATION_PATH = {
  // 单个地刺 3个数量点的动画路径
  spikesoneZero: 'texture/spikes/spikesone/zero',
  spikesoneOne: 'texture/spikes/spikesone/one',
  spikesoneTwo: 'texture/spikes/spikesone/two',
  // 两个地刺 4个数量点的动画路径
  spikestwoZero: 'texture/spikes/spikestwo/zero',
  spikestwoOne: 'texture/spikes/spikestwo/one',
  spikestwoTwo: 'texture/spikes/spikestwo/two',
  spikestwoThree: 'texture/spikes/spikestwo/three',
  // 三个地刺 5个数量点的动画路径
  spikesthreeZero: 'texture/spikes/spikesthree/zero',
  spikesthreeOne: 'texture/spikes/spikesthree/one',
  spikesthreeTwo: 'texture/spikes/spikesthree/two',
  spikesthreeThree: 'texture/spikes/spikesthree/three',
  spikesthreeFour: 'texture/spikes/spikesfour/four',
  // 四个地刺 6个数量点的动画路径
  spikesfourZero: 'texture/spikes/spikesfour/zero',
  spikesfourOne: 'texture/spikes/spikesfour/one',
  spikesfourTwo: 'texture/spikes/spikesfour/two',
  spikesfourThree: 'texture/spikes/spikesfour/three',
  spikesfourFour: 'texture/spikes/spikesfour/four',
  spikesfourFive: 'texture/spikes/spikesfour/five',
}

/** 白名单 需要返回回death动画的动画路径 */
export const BACK_DEATH_ANIMATION_WHITE_LIST = [
  // 烟雾
  SMOKE_ANIMATION_PATH.idleTop,
  SMOKE_ANIMATION_PATH.idleBottom,
  SMOKE_ANIMATION_PATH.idleLeft,
  SMOKE_ANIMATION_PATH.idleRight,
]

/** 白名单 需要返回回idle动画的动画路径 */
export const BACK_IDLE_ANIMATION_WHITE_LIST = [
  // 玩家攻击
  PLAYER_ANIMATION_PATH.attackTop,
  PLAYER_ANIMATION_PATH.attackBottom,
  PLAYER_ANIMATION_PATH.attackLeft,
  PLAYER_ANIMATION_PATH.attackRight,
  // turnleft 往左旋转动画帧图片路径
  PLAYER_ANIMATION_PATH.turnleftTop,
  PLAYER_ANIMATION_PATH.turnleftBottom,
  PLAYER_ANIMATION_PATH.turnleftLeft,
  PLAYER_ANIMATION_PATH.turnleftRight,
  // turnright 往右旋转动画帧图片路径
  PLAYER_ANIMATION_PATH.turnrightTop,
  PLAYER_ANIMATION_PATH.turnrightBottom,
  PLAYER_ANIMATION_PATH.turnrightLeft,
  PLAYER_ANIMATION_PATH.turnrightRight,
  // blockfront动画帧图片路径 向前撞击
  PLAYER_ANIMATION_PATH.blockfrontTop,
  PLAYER_ANIMATION_PATH.blockfrontBottom,
  PLAYER_ANIMATION_PATH.blockfrontLeft,
  PLAYER_ANIMATION_PATH.blockfrontRight,
  // blockback动画帧图片路径 后侧撞击
  PLAYER_ANIMATION_PATH.blockbackTop,
  PLAYER_ANIMATION_PATH.blockbackBottom,
  PLAYER_ANIMATION_PATH.blockbackLeft,
  PLAYER_ANIMATION_PATH.blockbackRight,
  // blockright动画帧图片路径 右侧撞击
  PLAYER_ANIMATION_PATH.blockrightTop,
  PLAYER_ANIMATION_PATH.blockrightBottom,
  PLAYER_ANIMATION_PATH.blockrightLeft,
  PLAYER_ANIMATION_PATH.blockrightRight,
  // blockleft动画帧图片路径 左侧撞击
  PLAYER_ANIMATION_PATH.blockleftTop,
  PLAYER_ANIMATION_PATH.blockleftBottom,
  PLAYER_ANIMATION_PATH.blockleftLeft,
  PLAYER_ANIMATION_PATH.blockleftRight,
  // blockturnleft动画帧图片路径 左旋转撞击
  PLAYER_ANIMATION_PATH.blockturnleftTop,
  PLAYER_ANIMATION_PATH.blockturnleftBottom,
  PLAYER_ANIMATION_PATH.blockturnleftLeft,
  PLAYER_ANIMATION_PATH.blockturnleftRight,
  // blockturnright动画帧图片路径 右旋转撞击
  PLAYER_ANIMATION_PATH.blockturnrightTop,
  PLAYER_ANIMATION_PATH.blockturnrightBottom,
  PLAYER_ANIMATION_PATH.blockturnrightLeft,
  PLAYER_ANIMATION_PATH.blockturnrightRight,
  // 木骷髅攻击
  WOODEN_SKELETON_ANIMATION_PATH.attackTop,
  WOODEN_SKELETON_ANIMATION_PATH.attackBottom,
  WOODEN_SKELETON_ANIMATION_PATH.attackLeft,
  WOODEN_SKELETON_ANIMATION_PATH.attackRight,
]
